<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@page import="com.zhangyj.impl.UserContext"%>
<%@page import="com.zhangyj.LocalMessage"%>

<script type="text/javascript">
<!--
var exit = false;

function uf_onSubmited() {
	if (window.parent) {
	window.parent.location.href="<%=request.getContextPath()%>/index.jsp";
	} else {
		window.location.href="<%=request.getContextPath()%>/index.jsp";
	}
}
function uf_refresh() {
	window.location.reload();
}
function zhuxiao() {
	exit = false;
	doSubmit();
}
function doSubmit() {
	document.getElementById("_loginout").src="<%=request.getContextPath()%>/login/out.do";
}
//-->
</script>
	<div style="float:left;width:300px;height:100%">
	<table width="100%" height="100%">
	<tr>
		<td align="right" valign="middle" style="color:#FFF">
		<%=LocalMessage.get("welcome") %>:&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#ff0;font-weight:700;font-size:14px;"><%//=UserContext.getUserContext(request).getUsername() %></span>
		</td>
	</tr>
	</table>
	</div>
	<div style="float:right;width:200px;height:100%">
	<table  height="100%">
		<tr>
			<td valign="middle"><a href="javascript:void(0)"  class="boast_nav" onclick="uf_refresh()">刷新</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
			<td valign="middle"><a href="javascript:void(0)"  onclick="zhuxiao()"  class="boast_nav">退出</a></td>
		</tr>
	</table>
	</div>

<iframe id="_loginout" style="display: none" src="about:blank"></iframe>